package com.gxw.rxjavatest.manager;

import com.gxw.rxjavatest.utils.Strings;

import org.xutils.http.RequestParams;
import org.xutils.http.annotation.HttpRequest;
import org.xutils.http.app.DefaultParamsBuilder;

/**
 * Created by GXW on 2016/4/7 0007.
 * email:603004002@qq.com
 */
@HttpRequest(
        host = "http://117.79.231.125:17080/wcf.svc",
        path = "/app_login.action",
        builder = DefaultParamsBuilder.class/*可选参数, 控制参数构建过程, 定义参数签名, SSL证书等*/
)
public class LoginParams extends RequestParams {

    public String loginID;
    public String password;
    public String deviceType;

    public LoginParams() {

    }

    public LoginParams(String loginID, String password, String deviceType) {
        this.loginID = loginID;
        this.password = Strings.md5(password);
        this.deviceType = "android";
    }
}
